package com.oyjd.ybx.bean.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * 年龄段分类实体
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
@Entity
@Table(name = "T_AGE_TYPE")
public class AgeType implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -157122164315072837L;

	/**
	 * 年龄段ID
	 */
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(name = "AGE_ID", length = 32)
	private String ageId;

	/**
	 * 年龄段
	 */
	@Column(name = "AGE_AREA", length = 20)
	private String ageArea;

	/**
	 * 年龄段描述
	 */
	@Column(name = "AGE_NOTE", length = 20)
	private String ageNote;

	/**
	 * 排序码
	 */
	@Column(name = "ORDER_KEY")
	private long orderKey;

	public String getAgeId() {
		return ageId;
	}

	public void setAgeId(String ageId) {
		this.ageId = ageId;
	}

	public String getAgeArea() {
		return ageArea;
	}

	public void setAgeArea(String ageArea) {
		this.ageArea = ageArea;
	}

	public String getAgeNote() {
		return ageNote;
	}

	public void setAgeNote(String ageNote) {
		this.ageNote = ageNote;
	}

	public long getOrderKey() {
		return orderKey;
	}

	public void setOrderKey(long orderKey) {
		this.orderKey = orderKey;
	}

}